package com.dick.base.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * <pre>
 * "ID" BIGINT NOT NULL,
 * "ROLE_ID" BIGINT NOT NULL,
 * "MENU_ID" BIGINT NOT NULL,
 * "CREATE_TIME" DATETIME(6),
 * </pre>
 */
@TableName("base_role_menu")
@Data
public class BaseRoleMenu {

    @TableId(type = IdType.INPUT)
    private Integer id;

    private Long roleId;

    private Long menuId;

    private LocalDateTime createTime;
}
